package cn.wyl.system.mapper;

import cn.wyl.system.domain.Role;
import cn.wyl.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-11-10
 */
public interface RoleMapper extends BaseMapper<Role> {

    void addRolePermissions(Role role);

    void addRoleMenus(Role role);

    void delPermissionsByRoleId(Long id);

    void delMenusByRoleId(Long id);
}
